import Vue from 'vue'
import App from './App.vue'
import '@/element-ui'
import '@/icons'
import '@/element-ui-theme'
import VueCookie from 'vue-cookie'
import httpRequest from '@/utils/httpRequest'
import { isAuth } from '@/utils'
import router from './router'
import store from './store'
import '@/components/global'
import '@/assets/less/index.less'
import filters from '@/filters'


Vue.config.productionTip = false

Vue.use(VueCookie)
Vue.use(filters)
// 挂载全局
Vue.prototype.$http = httpRequest // ajax请求方法
Vue.prototype.isAuth = isAuth     // 权限方法

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
